// import type { ProjectConfig } from '@/settings/types';
import { RouterTransitionEnum } from '@/settings/types';

const setting: any = {
  theme: 'light',
  name: '青绿',
  // 动画配置
  transitionSetting: {
    // 是否开启切换动画
    enable: true,
    // 动画名
    basicTransition: RouterTransitionEnum.FADE_SIDE,
    // 是否打开页面切换loading
    openPageLoading: false,
    // 是否打开页面切换顶部进度条
    openNProgress: true
  },
  logo: {
    img: {
      logo: `${import.meta.env.VITE_PUBLIC_PATH}assets/logo.png`
    },
    title: {
      text: '青绿'
    }
  },
  // 多标签
  multiTabsSetting: {
    // 刷新后是否保留已经打开的标签页
    cache: true,
    // 开启
    show: true,
    // 是否可以拖拽
    canDrag: true
  },
  canEmbedIFramePage: true,
  // 是否使用全局错误捕获
  useErrorHandle: false,
  openKeepAlive: true,
  encryptIconLink: 'https://huanbaonew.obs.cn-north-1.myhuaweicloud.com:443/test/encrypt/style.css',
  sideMenuWidth: 200
};

export default setting;
